//  精品案例
@color1: #282828;
@color2: #535353;

// 案例布局
.case_layout {
  width: 100%;
  max-width: 640px;
  min-width: 320px;
  margin: 0 auto;
  //  头部导航
  .topMenu {
    width: 100%;
    max-width: 640px;
    min-width: 320px;
    height: 40px;
    background-color: #f5f5f5;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    .topMenuContainer {
      height: 40px;
      line-height: 40px;
      .topBack {
        width: 9px;
        height: 16px;
        display: block;
        float: left;
        margin-top: 11px;
        background: url("../images/case/case_back.png") no-repeat center;
        background-size: 9px 16px;
      }
      p {
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        font-weight: 900;
        font-size: 18px;
      }
      .topMore {
        width: 19px;
        height: 16px;
        background: url("../images/homepage/navigation_contact.png") no-repeat center;
        background-size: 19px 16px;
        float: right;
        margin-top: 11px;
      }
    }
  }

  //   头部选项卡
  .tabControl {
    width: 100%;
    margin-top: 40px;
    .tabTop {
      height: 37px;
      line-height: 37px;
      border-top: 1px solid #b1b1b1;
      border-bottom: 1px solid #b1b1b1;
      .tabText {
        text-align: center;
        float: left;
        box-sizing: border-box;
        width: 33.33%;
        font-size: 16px;
        &:nth-child(2) {
          border-right: 1px solid #b1b1b1;
          border-left: 1px solid #b1b1b1;
        }
        span {
          margin-right: 6px;
        }
      }
    }

    .tabContent {
      width: 100%;

      ul {
        display: none;
        padding: 10px;
        box-sizing: border-box;
        >li {
          width: calc(20% - 2px);
          border: 1px solid #ccc;
          box-sizing: border-box;
          float: left;
          margin-right: 5px;
          margin-bottom: 5px;
          text-align: center;
          font-size: 14px;
          line-height: 25px;
          height: 25px;
        }
      }

    }
  }

  //  装修报价器
  .offer {
    width: 100%;
    .offer_banner {
      width: 100%;
      padding-bottom: 5px;
      background-color: #eee;
      img {
        width: 100%;
      }
    }
  }

  //  案例详情
  .caseDetails {
    width: 100%;
    .caseDetails_l {
      width: 100%;
      border-bottom: 5px solid #eee;
      &:nth-of-type(3) {
        border: none;
      }
      img  {
        width: 100%;

      }
      .caseDetails_text {
        line-height: 45px;
        background-color: #fff;
        font-size: 16px;
        span:first-of-type {
          color: @color1;
          font-weight: bold;
          float: left;
        }
        span:last-of-type {
          color: @color2;
          float: right;
        }
      }
    }
    .readMore {
      width: 100%;
      padding: 18px 0;
      .readMore_btn {
        width: 90%;
        margin: 0 auto;
        display: block;
        background-color: @color1;
        font-size: 16px;
        color: #fff;
        height: 36px;
        border-style: none;
        border-radius: 3px;
      }
    }
  }

  // 底部说明
  .footer {
    width: 100%;
    margin-top: 15px;
    .footerTel {
      font-size: 14px;
      border-bottom: 1px solid #ccc;
      line-height: 28px;
      height: 28px;
      background-color: #eee;
      font-weight: bold;
      text-align: center;
    }
    .footerServe {
      width: 100%;
      background-color: #f8f8f8;
      text-align: center;
      padding-bottom: 70px;
      padding-top: 15px;
      line-height: 20px;
      font-size: 14px;
    }
  }

  //  底部导航
  .bottom_menu {
    width: 100%;
    height: 70px;
    background: url('../images/homepage/footer_bg.png') no-repeat center;
    -webkit-background-size: cover;
    background-size: cover;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 999;
    .bottom_menuList {
      width: 100%;
      padding: 0 10px;
      box-sizing: border-box;
      li {
        float: left;
        width: 25%;
        text-align: center;
        margin: 25px auto 0;
        position: relative;
        p {
          margin-top: 5px;
          font-size: 14px;
        }
        img {
          width: 20px;
          height: 20px;
        }
        .footer_point {
          position: absolute;
          top: 0;
          right: 20px;
        }
      }
    }
  }
}